package com.wffz.service;

import com.github.pagehelper.PageInfo;
import com.wffz.po.IncomeLog;

import java.util.List;

/**
 * @author sunlei
 * @Description IncomeLogService
 * @date 2023/4/16 6:46
 **/
public interface IncomeLogService {

    public boolean saveInComeLog(IncomeLog incomeLog);

    public PageInfo<IncomeLog> queryIncomeLog(Integer pageNum, Integer pageSize, String loginName);


    public float queryAmountByTypes(String[] type,String loginName,boolean isNowDay);

    /**
     * 根据类型获取金额
     * @param type
     * @param loginName
     * @param isNowDay
     * @return
     */
    public float queryAmount(String type,String loginName,boolean isNowDay);
}
